package com.itheima.Oop01;

public class TestStudent {
    public static void main(String[] args) {
        Student stu1 = new Student(13);

        System.out.println(stu1.name);
        stu1.setAge(-2);

        stu1.study();
        System.out.println(stu1.getAge());
        //引用类型对象名存储地址值 - com.itheima.Oop01.Student@75412c2f
        System.out.println(stu1);
    }
}
